新增 Yac 内存管理章节并同步 doc-en #5822 的文档更新 - #1066
Open
laruence wants to merge 1 commit into
Open
Conversation
跟翻 doc-en c05fbe72(ext/yac: Add a Memory Management chapter and improve the examples,PR #5822): - 新增 reference/yac/memory.xml(内存管理章节):键池/值池两套独立共享 内存的布局、槽位驱逐与回收语义、容量规划与 Yac::info 计数器观察指标 - book.xml:引入 memory 实体,引言补基准测试链接与嵌入值整数范围修订 - constants.xml:补全 YAC_VERSION / YAC_MAX_VALUE_RAW_LEN / YAC_MAX_RAW_COMPRESSED_LEN 的空描述,修正序列化器常量说明 - ini.xml:更新 compress_threshold(默认 4K)与 keys_memory_size(默认 8M)默认值,重写两项内存说明并互链内存管理章节 - add/set/get/delete/dump/info:参数名 keys→key 对齐 arginfo,示例按参数 形式拆分为独立可运行片段,修正 hits 重置语义与 info 输出数字 中文 prose 收成连续单行,消除跨行被渲染折叠成的汉字间空格(含 dump.xml 等存量)。EN-Revision 指向 squash-merge 后的 doc-en master hash。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
跟翻 doc-en
c05fbe72(ext/yac: Add a Memory Management chapter and improve the examples,PR php/doc-en#5822)。改动
reference/yac/memory.xml(内存管理章节):键池 / 值池两套独立共享内存的布局、槽位驱逐与回收语义、容量规划与Yac::info计数器观察指标&reference.yac.memory;,引言补基准测试链接与嵌入值整数范围修订(60 有符号位)YAC_VERSION/YAC_MAX_VALUE_RAW_LEN/YAC_MAX_RAW_COMPRESSED_LEN的空描述,修正序列化器常量说明compress_threshold(默认4K)与keys_memory_size(默认8M)默认值,重写两项内存说明并互链内存管理章节keys→key对齐 arginfo,示例按参数形式拆分为独立可运行片段,修正hits重置语义与info输出数字中文排版
中文 prose 收成连续单行,消除跨行被 phd 渲染折叠成的汉字间空格(一并修正
dump.xml等存量)。校验
c05fbe72),10 个文件本地复现check-en-revision全通过check-structure.php骨架镜像:divergent=0section-order.php:0 issues;extensions.xml.php --check:通过